package com.cjj.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 跑腿订单表
 * </p>
 *
 * @author admin
 * @since 2025-10-25
 */
@Data
@TableName("runner_order")
public class RunnerOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 跑腿订单ID
     */
    @TableId(value = "runnerOrderId", type = IdType.AUTO)
    private Long runnerOrderId;

    /**
     * 关联订单ID
     */
    @TableField("orderId")
    private Long orderId;

    /**
     * 发货地址
     */
    @TableField("senderAddr")
    private String senderAddr;

    /**
     * 收货地址
     */
    @TableField("receiverAddr")
    private String receiverAddr;

    /**
     * 报酬金额
     */
    @TableField("reward")
    private BigDecimal reward;

    /**
     * 跑腿者ID
     */
    @TableField("runnerId")
    private Long runnerId;

    /**
     * 物品描述
     */
    @TableField("itemDesc")
    private String itemDesc;

    /**
     * 完成时限
     */
    @TableField("deadline")
    private LocalDateTime deadline;

    /**
     * 创建时间
     */
    @TableField("createTime")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField("updateTime")
    private LocalDateTime updateTime;
}
